#define _CRT_SECURE_NO_WARNINGS	

#include<stdio.h>

int main()
{
    for (int i = 0; i <= 2; i++)
    {
        for (int j = 1; j <= 3; j++)
        {
            if (5 - i - j >= 0)
                printf("red:%-4dyellow:%-4dwhite:%-4d\n", i, j, 5 - i - j);
        }
    }
    return 0;
}